package ch03.tist;

import ch03.Design.Buyer;
import ch03.Impl.IntermediaryImpl;
import ch03.Impl.RealBuyer;
import org.apache.log4j.Logger;

public class Test3 {
    public static void main(String[] args) {
        Logger logger = Logger.getLogger(Test3.class);
        Buyer buyer = new IntermediaryImpl(new RealBuyer());
        String result = buyer.havealook();
        logger.debug(result);
    }


}
